package com.dps.metrics.annotation;

import com.dps.metrics.mapper.HelpMap;
import com.dps.metrics.mapper.ResultTagMapper;
import com.dps.metrics.mapper.TagMapper;

import java.lang.annotation.*;

/**
 * @Auther: 吴江辉
 * @Date: 2021/06/10/09:54
 * @Description:
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CustomizedMetrics {

    String value() default "";

    String customPrefix() default "";

    Class<? extends TagMapper> tagMapper() default TagMapper.NoneTagMapper.class;

    Class<? extends ResultTagMapper> resultTagMapper() default ResultTagMapper.NoneResultTagMapper.class;

    Class<? extends HelpMap> helpMap() default HelpMap.NoneHelpMapper.class;


}
